const initState = {
    getData1: [],
    getData2: [],
    getData3: []
}
export default (state = initState, { type, data }) => {
    if (state[type]) {
        state[type] = data
        return Object.assign({}, state)
    }
    return Object.assign({}, state)
}